package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.BaseBean;

/**
 * 权限类
 *
 * @author 贾俊峰
 * @time 2017/7/25 11:09
 */
public class Power extends BaseBean {
    private static final long serialVersionUID = 8690829394754934837L;

    /**对象类型*/
    public static class ObjType {
        /**角色*/
        public static final int ROLE = 1;
        /**用户*/
        public static final int USER = 2;
    }
    /**权限类型*/
    public static class PowerType {
        /**菜单*/
        public static final int MENU = 1;
    }

    /**对象类型*/
    private Integer objType;
    /**对象编号*/
    private Long objId;
    /**权限类型*/
    private Integer powerType;
    /**权限编号*/
    private Long powerId;

    public Integer getObjType() {
        return objType;
    }

    public void setObjType(Integer objType) {
        this.objType = objType;
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public Integer getPowerType() {
        return powerType;
    }

    public void setPowerType(Integer powerType) {
        this.powerType = powerType;
    }

    public Long getPowerId() {
        return powerId;
    }

    public void setPowerId(Long powerId) {
        this.powerId = powerId;
    }
}
